<template>
  <el-popover
    placement="top-start"
    width="100px"
    trigger="hover"
    content="向上移动一个位置"
    :show-after="1000"
  >
  <template #reference>
    <el-button @click="upmove" size="mini"><span style="font-size: 20px">⇧</span></el-button>
  </template>
  </el-popover>
</template>

<script>
export default {
  name:'Up',
  emits: ['upmove'],
  data(){
   return {

   }
  },
  methods: {
    upmove() {
      this.$emit('upmove')
    }
  }
}
</script>

<style scoped>

  .el-button {
    width: 30px;
    padding: 0;
    text-align: center;
    border-radius: 50%;
    /* margin-right: 5px; */
  }
</style>
